<?php

namespace Xin\Menu\Facades;

use Illuminate\Support\Facades\Facade as LaravelFacade;
use think\Facade as ThinkFacade;

if (class_exists(LaravelFacade::class)) {
    class Menu extends LaravelFacade
    {

    }
} elseif (class_exists(ThinkFacade::class)) {
    class Menu extends ThinkFacade
    {
        /**
         * 获取当前Facade对应类名（或者已经绑定的容器对象标识）
         *
         * @access protected
         * @return string
         */
        protected static function getFacadeClass()
        {
            return 'menu';
        }
    }
}
